package com.tedu.ivos.vehicle.mapper;

import com.tedu.ivos.vehicle.pojo.dto.VehicleQuery;
import com.tedu.ivos.vehicle.pojo.entity.Vehicle;
import com.tedu.ivos.vehicle.pojo.vo.VehicleVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface VehicleMapper {

    List<VehicleVO> selectVehicle(VehicleQuery vehicleQuery);

    void insertVehicle(Vehicle vehicle);

    void updateVehicle(Vehicle vehicle);

    void delete(Long id);

    void unbindVehicle(Vehicle vehicle);
}
